package moxl.parser.assemblers.comment;

import moxl.parser.ParserException;
import moxl.parser.assemblers.AssemblerStateException;
import moxl.parser.assemblers.CommonStateDelegateBase;
import moxl.tokenizer.TokenizerException;

public class CommentStateDelegateBase extends CommonStateDelegateBase<CommentAssemblerState>
{
	protected void acceptOpenComment(CommentAssemblerContext ctx) throws ParserException, TokenizerException
	{
		error(ctx);
	}

	protected void acceptCommentBody(CommentAssemblerContext ctx) throws ParserException, TokenizerException
	{
		error(ctx);
	}

	protected void acceptCloseComment(CommentAssemblerContext ctx) throws ParserException, TokenizerException
	{
		error(ctx);
	}

	public void acceptDoubleHyphen(CommentAssemblerContext ctx) throws ParserException, TokenizerException
	{
		error(ctx);
	}

	private void error(CommentAssemblerContext ctx) throws AssemblerStateException
    {
	    throw new CommentAssemblerStateException(ctx);
    }

}
